.main-top-cards {
  cursor: pointer;
}
.main-top-cards img {
  margin: 0 auto;
  display: block;
}
.main-top-cards p {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.main-top-cards:hover {
  color: #1890ff;
}

.courseware-cards,
.collect-cards {
  transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}

.courseware-cards:hover,
.collect-cards:hover {
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
    0 5px 12px 4px rgba(0, 0, 0, 0.09);
}
.collect-cards-container {
  width: 100%;
  overflow: hidden;
}
.collect-cards {
  position: relative;
  width: 50%;
  min-height: 140px;
  padding: 10px;
  border: 1px solid #f0f0f0;
  float: left;
  margin-bottom: 10px;
  overflow: hidden;
  padding-right: 30px;
}
// .collect-cards h4,.collect-cards p{
//   white-space: nowrap;
//   text-overflow: ellipsis;
//   overflow: hidden;
// }
.collect-cards img {
  float: left;
  width: 200px;
  height: 120px;
  object-fit: cover;
  margin-right: 20px;
  position: relative;
}
.video-cards::before {
  width: 200px;
  height: 120px;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  content: ' ';
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  background-image: url('https://www.shejiyuan.com/Public/images/play.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
}
.courseware-cards-collect {
  position: absolute;
  right: 10px;
  top: 23px;
  cursor: pointer;
  font-size: 20px;
  color: #ccc;
}

.search-area {
  float: right;
  width: 100%;
  margin-bottom: 25px;
}

.col-item {
  width: 50%;
  position: relative;
  cursor: pointer;
  float: left;
}

.info-title {
  font-size: 18px;
  height: 20px;
  line-height: 20px;
  text-indent: 10px;
  font-weight: bold;
}
.info-title img {
  position: relative;
  left: -10px;
  top: -2px;
}

.info-content {
  width: 90%;
  height: 120px;
  margin: 10px auto;
  .info-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    top: 5px;
  }
  .info-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
  }
  .info-content-item {
    margin-top: 52px;
  }
  .info-item {
    cursor: pointer;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

.train-tsbutton,
.train-tzbutton {
  margin-left: 20px;
  top: 0;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  font-weight: 400;
  white-space: nowrap;
  font-size: 16px;
  width: 150px;
  cursor: pointer;
  transition: 0.2s;
  -o-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  color: #fff;
  padding: 5px;
}
.train-tsbutton:hover,
.train-tzbutton:hover {
  opacity: 0.8;
}

.progress {
  height: 30px;
  display: block;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  width: 100%;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 25px;
  .progress-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #eee;
    text-align: center;
    color: #fff;
    border-radius: 10px;
  }
  .progress-bg {
    width: 0%;
    height: 100%;
    position: absolute;
    background: #1890ff;
    left: 0;
    top: 0;
    border-radius: 10px;
  }
  .progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fda63f;
    transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 2;
  }
}

.time-buttons{
  position: absolute;
  top: -32px;
  width: 300px;
  left: 130px;
}